.dib {
	display: inline-block;
}
.tasks {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: calc(1440px - 13rem) !important;
	height: 100%;
	background-color: var(--color-bg-2);
	.tasksContent {
		padding: 0 1.5rem;
		overflow: auto !important;
	}
	.bread-crumb {
		padding-left: 0;
	}

	.title {
		margin-right: 1rem;
		padding: 1.25rem 0;
		color: var(--color-text-0);
		.loading-animation {
			width: 1rem;
			height: 1rem;
		}

		.hidden-icon {
			display: none;
		}
	}

	.body {
		margin-bottom: 1.5rem;
		padding: 1rem 1.5rem;
		background-color: var(--color-bg-0);
		box-shadow: 0 3px 3px 1px var(--color-text-5);
		.control-wapper {
			.first-row {
				display: flex;
				align-items: center;
				justify-content: space-between;
				.btn {
					height: 2.25rem;
					padding: 0 1.25rem;
				}
			}
		}
				.select-container {
					display: flex;
					align-items: center;

					.select {
						width: 17.25rem;
						height: 2.25rem;
						margin-right: 0.5rem;
					}

					.input {
						width: 10rem;
					}
					.btn {
						width: 4rem;
						margin-left: 0.5rem;
					}
					.search-icon {
						fill: var(--color-4);
						color: var(--color-5);
						cursor: pointer;
					}
				}
		.control-container {
			width: 100px;
			a {
				color: var(--color-5) !important;
			}
			.control {
				display: flex;
				align-items: center;
				white-space: nowrap;

				.item-span {
					display: inline-block;
					margin-right: 0.5rem;
					color: var(--color-5);
					text-decoration: none;
					cursor: pointer;
				}
				.btn {
					cursor: pointer;
				}

				.btn:hover {
					color: var(--color-6);
				}

				.linkbtn {
					margin-right: 1.75rem;
				}

				.ml0 {
					margin-left: 0;
				}
			}
		}
		.table-wapper {
			overflow: hidden;

			& > div {
				border: none;
			}

			table {
				border-collapse: separate;
				border-spacing: 0 1rem !important;

				tr > th,
				tr > td {
					&:first-child {
						border-radius: 4px 0 0 4px;
					}

					&:last-child {
						border-radius: 0 4px 4px 0;
					}
				}

				thead {
					tr > th {
						color: var(--color-text-2);
						font-weight: normal;
						font-size: var(--text-md);
						background: var(--color-bg-2) !important;
						border-top: 1px solid var(--color-border-2);
						border-bottom: 1px solid var(--color-border-2);

						&:first-child {
							border-left: 1px solid var(--color-border-2);
						}

						&:last-child {
							border-right: 1px solid var(--color-border-2);
						}
					}
				}

				tr > td {
					border-top: 1px solid var(--color-bg-2);
					border-bottom: 1px solid var(--color-bg-2);

					&:first-child {
						border-left: 1px solid var(--color-border-2);
					}

					&:last-child {
						border-right: 1px solid var(--color-border-2);
					}
				}
			}

			.asset {
				.domain {
					font-weight: bold;
				}

				.note {
					color: var(--color-text-2);
					font-size: var(--text-sm);
				}
			}

			.security-status {
				position: relative;

				.last-date {
					margin: 0 1rem 0 0.5rem;
					color: var(--color-text-2);
					font-size: var(--text-sm);
				}

				.tip-icon {
					margin: 0 0.5rem;
					color: var(--color-text-3);
					cursor: pointer;

					&:hover {
						color: var(--color-text-2);
					}
				}

				.status {
					display: flex;
					white-space: nowrap;

					.label {
						color: var(--color-text-2);
					}

					.category-ststus {
						flex: 1 0 0;
						min-width: 10rem;
						overflow: hidden;
						text-overflow: ellipsis;
					}
				}

				.title {
					display: flex;
					align-items: center;

					.text {
						color: var(--color-text-0);
					}
				}
			}

			.control-container {
				min-width: 8rem;

				.control {
					display: flex;
					align-items: center;
					white-space: nowrap;

					.item-span {
						display: inline-block;
						width: 100%;
						cursor: pointer;
						&:hover {
							color: var(--color-primary);
						}
					}
					.btn {
						cursor: pointer;
					}

					.btn:hover {
						color: var(--color-6);
					}

					.linkbtn {
						margin-right: 0.5rem;
					}

					.ml0 {
						margin-left: 0;
					}
				}
			}

			.updatetime-title {
				display: flex;
				align-items: center;

				& > img {
					padding: 0 0.25rem;
				}
			}

			/* .updatetime-tooltip {
					color: var(--color-text-0);
					font-size: var(--text-sm);
					line-height: 2;

					.update-time {
						padding: 0.5rem;
					}
				} */
		}
	}
}

.dialog {
	width: 25rem;
}

.center {
	display: flex;
	align-items: center;
	justify-content: center;

	:global {
		.rc-dialog-body {
			background: #fff;
		}

		.rc-dialog-header {
			background: #fff;
			border-bottom: 1px solid var(--color-border-0);
		}
	}
}

.delete-confirm-message {
	text-align: center;

	.notice-icon {
		width: 3rem;
		height: 3rem;
		margin-bottom: 0.5rem;
		color: var(--color-warning);
	}

	.message {
		margin-bottom: 0.5rem;
		text-align: left;
	}
}

.ownership-tip {
	z-index: 1000;
}

.cascader-dropdown {
	:global {
		.rc-cascader-menu {
			height: auto;
		}
	}
}

.singled {
	:global {
		.rc-select-selection__rendered {
			.rc-select-selection-selected-value {
				width: 11.9rem;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
			}
		}
	}
}

.datetime-container {
	.updatetime-tooltip {
		color: var(--color-text-1);

		.update-time {
			padding: 0.25rem 0.5rem;
		}
	}
}
.primary {
	box-sizing: border-box;
	margin-left: 0.5rem !important;
	padding: 8px 20px;
	color: #0b6fd6;
	background-color: #f7f9fc;
	border: 1px solid #0b6fd6;
	border-radius: 4px;
	&:hover {
		text-decoration: none;
	}
}

.dropdown {
	display: flex;
	align-items: center;
}
.itemSel {
	width: 9.5rem;
	margin-left: 0.5rem;
}
.typeSwitch {
	display: flex;
	align-items: center;
}
:global {
	.ant-dropdown-menu {
		width: 8rem;
	}
	.ant-dropdown-menu-item:hover {
		color: var(--color-primary);
	}
	.ant-dropdown-menu-item {
		color: #5e616d;
		line-height: 2rem;
	}
}
.secondRow {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	.line-btn {
		display: flex;
		flex: 1;
		align-items: center;
		.btn {
			color: var(--color-text-0);
		}
		.high-light {
			color: var(--color-5);
			cursor: pointer;
		}
	}
}
.job-table {
	margin-top: 16px;
	.label {
		color: #2a2b31;
	}
	:global {
		.ant-table-wrapper {
			min-height: 392px;
		}
		.ant-table-tbody > tr > td,
		.ant-table-thead > tr > th {
			width: auto !important;
			min-width: 0px !important;
			max-width: 120px !important;
			padding: 12px 8px !important;
			&:first-child {
				width: 56px !important;
			}
			&:nth-child(2),
			&:nth-child(3) {
				max-width: 200px !important;
			}
			&:last-child {
				overflow: unset !important;
			}
		}
	}
	.host {
		min-width: 0px !important;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
@media screen and (min-width: 1920px) {
	.job-table {
		:global {
			.ant-table-tbody > tr > td,
			.ant-table-thead > tr > th {
				&:nth-child(2),
				&:nth-child(3) {
					width: 300px;
					max-width: 400px !important;
				}
			}
		}
	}
}
.message2 {
	color: #fbc467;
	font-size: var(--text-sm);
	text-align: left;
}
.dib {
	display: inline-block;
}
.ell {
	vertical-align: middle;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	> * {
		vertical-align: middle;
	}
	.text {
		display: inline-block;
		margin-left: 0.5rem;
	}
}
.w40 {
	width: 40px;
}
.w80 {
	width: 80px !important;
}
.w60 {
	width: 60px;
}
.w100 {
	width: 100px;
}
.dib {
	display: inline-block;
}
.w100p {
	width: 100%;
}
.tal {
	text-align: left;
}
.empty2 {
	height: 392px;
	border: none !important;
}
.circle {
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	margin-right: 0.5rem;
	border-radius: 50%;
}
.batchBtn {
	display: flex;
	justify-content: space-between;
	width: 100px;
}
.header-tip {
	position: absolute;
	top: 0;
	z-index: 98;
	width: 100%;
	min-width: 1054px;
	height: 30px;
	color: #fff;
	line-height: 32px;
	text-align: center;
	background: #122d87 url('./../../Task/TaskInfo/info/images/top_bg.png')
		no-repeat -4px -4px;
	background-size: auto 38px;
}
.normal-color {
	color: var(--color-success);
}
.success-color {
	color: var(--color-success);
}
.error-color {
	color: var(--color-error);
}
.unknown-color {
	color: var(--color-text-3);
}
.info {
	background-color: rgba(106, 106, 106, .1) !important;
  border-color: transparent !important;
  color: #CCCCCC !important;
}
.cp {
	cursor: pointer;
}
.p20_0 {
	padding: 20px 20px 0;
}
.w500 {
	width: 500px !important;
}
.w600 {
	width: 600px !important;
}
.w700 {
	width: 700px !important;
}
.df {
	display: flex;
}
.aic {
	align-items: center;
}

.flex1 {
	flex: 1;
}
.append-select {
	width: 100px !important;
	border-right: unset !important;
	border-radius: 4px 0 0 4px !important;
	border-color: #cbd1da !important;
	:global {
		.rc-select-text {
			color: #686c78 !important;
		}
	}
	&:hover {
		border-color: #cbd1da;
	}
	& + input {
		border-radius: 0 4px 4px 0 !important;
	}
}
.pa {
	position: absolute;
}
.r_20 {
	right: -20px;
}
.m0_20 {
	margin: 0 20px;
}
.mb20 {
	margin-bottom: 20px;
}
.mb10 {
	margin-bottom: 10px;
}
.ml5 {
	margin-left: 5px;
}
.mt20 {
	margin-top: 20px;
}
.vam {
	vertical-align: middle;
}
.fs36 {
	font-size: 36px;
}
.tac {
	text-align: center;
}
.create-form {
	:global {
		.ant-form .ant-form-item-has-error .ant-form-item-control-input-content > * {
			border: 1px solid #ff4d4f;
			&.error-box {
				font-size: 12px;
				> * {
					border-color: transparent !important;
				}
				> input {
					border-left-color: #cbd1da !important;
				}
			}
		}
	}
	.bdt {
		border: 1px solid transparent;
		border-radius: 4px;
	}
}
.warning-color {
	color: #F5A623;
}
.pl40 {
	padding-left: 80px;
}
.w550 {
	width: 550px !important;
}
.sub-db {
	> span {
		display: block;
		width: 100%;
	}
}
#web-disabled-item[disabled] {
	background-color: #f7f9fc !important;
	color: #686c78 !important;
}
.MenuSpan {
	display: inline-block;
	width: 100%;
	color: #5e616d !important;
	text-decoration: none;
	cursor: pointer;
	&:hover {
		color: var(--color-5) !important;
	}
}
.task-res-tooltip {
	:global {
		.rc-tooltip-inner {
			max-width: unset !important;
		}
	}
}
.result-table {
	width: 625px !important;
	margin: -8px -10px;
	:global {
		.ant-table-wrapper {
			min-height: unset !important;
		}
		td {
			vertical-align: top;
			padding-left: 20px;
		}
		tbody {
			td {
				border-right: 1px solid #e7eaef;
				border-bottom: 0 !important;
				&:last-child {
					border-right: 0px;
				}
			}
		}
	}
}
.result-box {
	>span {
		color: #FAAF2D;
		position: relative;
		top: 4px;
		background: #E6EAEF;
		display: inline-block;
		width: 40px;
		height: 18px;
		line-height: 18px;
		border-radius: 10px;
		overflow: hidden;
		text-overflow: ellipsis;
		text-align: center;
		margin-right: 4px;
		&:last-child {
			margin-right: 0;
		}
	}
}

:global {
	.cascaderItem {
		.ant-cascader-menu {
			width: 140px;
			height: 145px;
			overflow: auto;
			.ant-cascader-menu-item {
				color: #9194a1;
				line-height: 20px;
				padding: 8px 10px;
				&:hover {
					color: #0b73da;
				}
				&.ant-cascader-menu-item-active {
					color: #0b73da;
					font-weight: normal;
				}
			}
		}
	}
	.ant-select-arrow {
		&.cascader-icon::after {
			border-top: 1px solid #999ea8;
			border-left: 1px solid #999ea8;
			content: '';
			transform: rotate(-135deg);
			position: absolute;
			transform-origin: center 2px;
			top: 50%;
			transition: transform 0.2s ease;
			right: 8px;
			width: 6px;
			height: 6px;
			margin-top: -2px;
		}
	}
	.ant-cascader-picker {
		height: 36px;
		input {
			height: 100%;
			border-radius: 4px;
		}
		.cascader-icon::after {
			border-color: var(--color-border-1) transparent transparent transparent;
			width: 0;
			border-style: solid;
			content: '';
			height: 0;
			position: absolute;
			border-width: 5px 4px 0 4px;
			margin-top: -2px;
			top: 50%;
			margin-left: -4px;
			left: 50%;
		}
		.ant-select-clear {
			right: 16px;
		}
		&.ant-select-open {
			.cascader-icon::after {
				transform: rotate(45deg);
			}
		}
	}
}
